<template>
    <div>
        <el-switch v-model="isDark" active-action-icon="Moon" inactive-action-icon="Sunny" />
    </div>
</template>

<script setup>
import { useDark } from '@vueuse/core'
const isDark = useDark()
</script>

<style lang='scss' scoped></style>